package com.zlm.design.strategy;

import org.springframework.core.annotation.Order;
import org.springframework.stereotype.Service;

/**
 * @author zlm
 * @date 2025/5/14
 */
@Service
@SupportUserType(UserType.NORMAL)
public class NormaCustomerService implements CustomerService{

    @Override
    public UserType support() {
        return UserType.NORMAL;
    }

    @Override
    public boolean support(int recharge) {
        return recharge > 0 && recharge <= 100;
    }

    @Override
    public String findCustomer() {
        System.out.println("普通玩家客服");
        return "普通玩家客服";
    }
}
